This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
RE: Selecting a date from Combobox ~Mario Lopkistergon 15.Jan.04 07:19 PM a Web browser Domino Designer 6.0.3All Platforms
what style of the combobox did you have? The calendar date control?
What you want is possible. If the user is going to input the field as text, then you have to convert the field to be a date. Next then calculate what is the next Friday date?
For example:
tempvariable := @TexttoTime(<textfieldname>);
tempweekday := @Weekday(tempvariable);
tempnextfriday :=@if(tempweekday=7;@Adjust(tempvariable;0;0;+6;0;0;0);@Adjust(tempvariable;0;0;(6-tempweekday);0;0;0));
The formula language for tempnextfriday should be the date value computed basd on the name of the text fieldname. To wit, <textfieldname> needs to be replace with the actual name of the field. This formula could be placed into a computed date field as well.